package com.itheima.customer.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.itheima.customer.domain.LinkMan;

/**
 * 联系人的持久层接口
 * @author Administrator
 *
 */
public interface ILinkManDao {

	void addLinkMan(LinkMan linkman);

	List<LinkMan> findAll(DetachedCriteria dc, int firstResult,  int maxResults);

	void remove(LinkMan linkman);

	LinkMan findById(Long lkmId);

	void update(LinkMan linkman);

	int findTotalRecords(DetachedCriteria dc);

}
